EMT Practice Test

1. Question Content...


Question List

Question1: CORRECT TEXT
A new kernel version needs to be compiled to use a new feature. If the old kernel configuration file is available, which make target creates a configuration file for the new kernel based on the configuration of the old kernel?

Question2: CORRECT TEXT
What command discards unused blocks on a mounted file system in order to support SSD devices? (Specify ONLY the command without any path or parameters.)

Question3: A network client has an Ethernet interface (eth0) configured with an IP address in the subnet
192.168.0.0/24. This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. Which of the following commands can be used on the client to enable it to use the router as its default gateway? (Choose two.)

Question4: How can the label rootbe added to the ext4 filesystem on /dev/sda1?

Question5: Which of the following commands adds a static IPv6 address to the network interface eth0?

Question6: CORRECT TEXT
Which directory contains the system-specific udev rule files? (Specify the absolute path including the directory name)

Question7: Fill in the blank.
The users of the local network complain that name resolution is not fast enough. Which command shows the time taken to resolve a DNS query? (Specify the command without path.)

Question8: A network client has an Ethernet interface (eth0) configured with an IP address in the subnet 192.168.0.0/24.
This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. Which of the following commands can be used on the client to enable it to use the router as its default gateway?
(Choose two.)

Question9: Which command is used to install a new LILO boot loader?

Question10: Under which of the following circumstances would the command ping output the string (DUP!)?

Question11: How can the label root be added to the ext2 filesystem on /dev/sda1?

Question12: Which commands are used to load modules into the Linux kernel? (Choose TWO correct answers.)

Question13: CORRECT TEXT
After configuring a new kernel, what file under /usr/src/linux/ contains the configuration?

Question14: What mount option must be used in /etc/fstab when mounting an iSCSI target?

Question15: Which of the following commands can be used to script interactions with various TCP or UDP services?

Question16: Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltaur using the remote user account kevin?

Question17: Which of the following are common Linux filesystem types used for root partitions?
(Choose THREE correct answers.)

Question18: Which of the following commands can be used to list IPv4 addresses and MAC addresses for IP devices that the system has seen on the local network?

Question19: What is the functionality that PXE provides?

Question20: What option in the collectd configuration file is required in order to define what to start monitoring?

Question21: A correctly formatted entry has been added to /etc/hosts.deny to prevent certain clients from connecting to a service but this is having no effect. What could be the cause of this?
(Choose TWO correct answers.)

Question22: Which of the following commands by default provides the PIDs of the processes sorted by which are using the most CPU cycles on the Linux system?

Question23: What mechanism does collectd use to gather monitoring information on systems?

Question24: Which of the following parameters instructs the kernel at boot time to use only one of the available processors?

Question25: Which of the filter keywords below could be used in the following command:
tcpdump -i eth0 ____________ 203.0.113.8 (Choose three.)

Question26: CORRECT TEXT
The users of the local network complain that name resolution is not fast enough. Enter the command, without the path or any options, that shows the time taken to resolve a DNS query.

Question27: Which of the following commands displays the physical path of the kernel module named dummy?

Question28: What is the correct parameter to pass to the kernel at boot time to force it to use only one of the available processors?

Question29: In case the file containing the Linux kernel is lost, what happens when the system is booting?

Question30: CORRECT TEXT
What keyword is missing in the following line from /etc/fstab in order to make a USB flash device writeable by the user fred when mounted:
/dev/sda1 /mnt/usbflash vfat defaults,users,______=fred,umask=022, 0 0
(Provide the option name only without any settings)

Question31: Which of the following init systems comes along with an own UEFI boot loader?

Question32: Which command will report information on memory usage, paging and block input/output?

Question33: Which of the following files are used to resolve hostnames to IP addresses? (Choose TWO correct answers.)

Question34: What is the purpose of the command vgextend?

Question35: The following is an excerpt from the output of tcpdump -nli eth1 'udp':
1 3:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.53: 43653+ A? lpi.org. (25)
1 3:03:17.598624 IP 192.168.5.112.53 > 192.168.123.5.1065: 43653 1/0/0 A 198.51.100.42 (41) Which network service or protocol was used?

Question36: In this example output, which descriptions match the purpose of the free, buff and cache columns? (Choose THREE correct answers.)
# vmstat 1 100
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 282120 134108 5797012 0 0 0 2 0 0 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 359 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1117 577 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 366 0 0 100 0

Question37: What is incorrect about these entries in /etc/hosts which could be causing host name lookup problems with host2?
host1 192.168.1.12
host2 192.168.1.12

Question38: What should be done to ensure a client machine uses the recursive nameserver running on the IP address
192.168.0.1? (Choose two.)

Question39: What is the purpose of the command udevadm monitor?

Question40: Which of the following files will be looked for and used by GNU make, if one of them exists, unless a different file is specified on the command line when trying to compile software from source code? (Choose TWO correct answers.)

Question41: The IDE hard drive /dev/hda does not have DMA enabled. Which command must be run to enable DMA on it?

Question42: How is the source code for the main Linux kernel modules distributed?

Question43: Which of the following tools are used to measure memory usage? (Choose THREE correct answers.)

Question44: If the file containing the Linux kernel is deleted, what happens when the system boots?

Question45: Which single command simulates a failed device within a RAID 5 array?

Question46: A Linux server running systemd booted to rescue.targetfor maintenance. Which commands are used to restore the server to its usual target? (Choose two.)

Question47: CORRECT TEXT
After installing a compiled kernel, it can not find any modules that are needed to be loaded.
What make target was likely missed while installing the kernel?

Question48: Which of the filter keywords below could be used in the following command:
tcpdump -i eth0 ____________ 203.0.113.8
(Choose three.)

Question49: Which two LVM commands are missing from the following sequence which is used to create a logical volume and make use of it on a Linux system?
pvcreate, ___________, __________, mkfs, mount

Question50: Which of the following commands restores only those files containing lpiin their name from the archive lpifiles.tar.gz?

Question51: What is the command to add another IP address (192.168.1.2) to a network interface (eth0) that already has (at least) one IP address in the 192.168.1.0/24 subnet?

Question52: In the following output, what percentage of time was the CPU waiting for pending I/O?
# vmstat 1 100
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 282120 134108 5797012 0 0 0 2 0 0 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 359 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1117 577 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 366 0 0 100 0

Question53: CORRECT TEXT
Which is the main configuration file for the SystemV init process? (Specify the full name of the file, including path.)

Question54: In the output of sar -b, what does tps stand for?

Question55: Which commands below are useful to collect data about remote filesystem connections?
(Choose TWO correct answers.)

Question56: Which option to the update-rc.d command will cause the removal of all symlinks to
/etc/rcX.d/*test2 even when the script /etc/init.d/test2 still exists?

Question57: Which of the following commands will list the IPv4 neighbors of the current system? This includes IP and MAC addresses. (Choose TWO correct answers.)

Question58: The main configuration file for autofs has this entry:
/home /etc/auto.home
What is the meaning of the /etc/auto.home file?

Question59: Which of the following files will be looked for and used by GNU make, if one of them exists, unless a different file is specified on the command line when trying to compile software from source code? (Choose two.)

Question60: In which directory tree are files modified when changing kernel parameters using the command sysctl?

Question61: Fill in the blank.
What command ensures that the file systems are written to disk after a lot of write operations?
(Specify ONLY the command without any path or parameters.)

Question62: Fill in the blank.
What command will remove a physical volume from a volume group? (Specify ONLY the command without any path or parameters.)

Question63: In the below example output, which columns detail the percent of time the CPU spent running non-kernel code and the percent of time the CPU spent running kernel code?
(Choose TWO correct answers.)
# vmstat 1 100
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 282120 134108 5797012 0 0 0 2 0 0 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 359 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1117 577 0 0 100 0
0 0 0 282120 134108 5797012 0 0 0 0 1007 366 0 0 100 0

Question64: CORRECT TEXT
Which file tells GRUB the paths of the filesystem partitions in both Linux format and in the GRUB syntax? (Specify the file name only with no path information)

Question65: Which files are updated as devices are mounted and unmounted to provide information on the currently mounted devices and the options used? (Choose TWO correct answers.)

Question66: A Linux server is running in single user mode for regular maintenance. Which commands are used to restore the server to its usual runlevel? (Choose TWO correct answers.)

Question67: If the file containing the Linux kernel is deleted, what happens when the system boots?

Question68: Which of the following init systems comes along with an own UEFI boot loader?

Question69: Considering the following kernel IP routing table below, which of the following commands must be used to remove the route to the network 10.10.1.0/24? (Select TWO answers) Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface
2 03.0.113.162 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
1 72.16.87.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
1 92.168.246.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
1 0.10.1.0 192.168.246.11 255.255.255.0 UG 0 0 0 eth1
1 27.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0 .0.0.0 203.0.113.162 0.0.0.0 UG 0 0 0 ppp0

Question70: When planning a web server which of the following choices will impact system sizing?
(Choose THREE correct answers.)

Question71: Which of the following commands is used to set up a RAID volume?

Question72: CORRECT TEXT
Which command turns an existing ext2 filesystem non-destructively into an ext3 filesystem? (Specify ONLY the command without any path or parameters.)

Question73: Which of the following properties should be recorded in order to monitor the quality of a network link?
(Choose two.)